package com.cube.truthseer.entity.bucket.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.cube.truthseer.entity.bucket.enums.BucketStatus;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author koshi
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bucket")
public class Bucket implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 桶子大小
     */
    @TableId(value = "bucket_id", type = IdType.ASSIGN_ID)
    private Long bucketId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 图片数量
     */
    @TableField("picture_number")
    private Integer pictureNumber;

    /**
     * 视频数量
     */
    @TableField("video_number")
    private Integer videoNumber;

    /**
     * 是否可见；1：不可见
     */
    @TableField("status")
    private BucketStatus status;

    /**
     * 用户使用大小
     */
    @TableField("userd_size")
    private String userdSize;

    /**
     * 总容量
     */
    @TableField("total_size")
    private String totalSize;

    @TableField("bucket_name")
    private String bucketName;
}
